package summultiples

const testVersion = 1

func SumMultiples(limit int, divisors ...int) (sum int) {
	for i := 1; i < limit; i++ {
		for j := 0; j < len(divisors); j++ {
			if i%divisors[j] == 0 {
				sum += i
				break
			}
		}
	}

	return
}
